package com.xszx.service;

import com.xszx.bean.*;

import java.util.List;
import java.util.Map;

/**
 * @author MarFloral
 * @date 2022/12/9 13:47
 */
public interface ManaService {
    List<EmpBasicInfo> selectEmpInfo();

    List<EmpBasicInfo> selectEmpByNo(String empNo);

    int addEmp(EmpInfo empInfo);

    int updateEmp(EmpInfo empInfo);

    int deleteEmpInfo(int id);

    int selectSameInsurance(Map<String, Object> map);

    int addInsurance(Insurance insurance);

    List<Insurance> selectAllInsurance(Map<String, Object> map);

    int selectInsuranceCount();

    int deleteInsurance(int id);

    int updateInsurance(Insurance insurance);

    List<Insurance> selectInsuranceByEmpNo(String empNo);

    List<DepInfo> selectDepInfo();

    int addDep(DepInfo depInfo);

    int updateDep(DepInfo depInfo);

    List<DepPosition> selectDepPosition(Map<String, Object> map);

    int selectDepPositionCount();

    int selectSamePosition(String position);

    int addDepPosition(DepPosition depPosition);

    int editDepPosition(DepPosition depPosition);

    int selectPositionNum(int id);

    int deleteDepPosition(int id);

    List<UserAttendance> selectAllAttendance(Map<String, Integer> map);

    int selectAttdanceCount();

    int updateAttendance(UserAttendance userAttendance);

    List<UserAttendance> searchAttendanceByKeyWord(Map<String, Object> map);

    List<UserVocate> selectAllVacate();

    List<UserVocate> selectVacateByKeyWord(String empNo);

    int updateVacate(UserVocate userVocate);

    int deleteVacate(int id);

    int selectWageCount();

    List<Wage> selectAllWages(Map<String, Object> map);

    List<Wage> selectWageByKeyWord(Map<String, Object> map);

    int deleteWages(int id);

    int addWages(Wage wage);

    int updateWages(Wage wage);

    List<Wage> selectThisMonthWages(Map<String, Object> map);

    int selectEmpCount();

    List selectWagesByMonth(String month);

    void addCheckedWages(Wage wage);

    void deleteCheckedWages(int id);

    List<Position> selectOpenPosition();

    List<Memo> selectMemoByEmpNo(String empNo);

    int deleteMemo(int id);

    List<AddressList> selectAddressList();

    List<AddressList> selectAddressListByKeyWord(String likeEmpNo);
}
